﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Xiaozilang_Ordering_System
{
    public partial class AddMoney : Form
    {
        
        public AddMoney()
        {
            InitializeComponent();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            AddMoney2 addMoney2 = new AddMoney2(Thirty.Text);

            addMoney2.Show();
            this.Close();

        }

        private void ten_Click(object sender, EventArgs e)
        {
            AddMoney2 addMoney2 = new AddMoney2(Ten.Text);

            addMoney2.Show();
            this.Close();
        }

        private void fifty_Click(object sender, EventArgs e)
        {
            AddMoney2 addMoney2 = new AddMoney2(Fifty.Text);

            addMoney2.Show();
            this.Close();
        }

        private void hundred_Click(object sender, EventArgs e)
        {
            AddMoney2 addMoney2 = new AddMoney2(Hundred.Text);

            addMoney2.Show();
            this.Close();
        }

        private void TwoHuandred_Click(object sender, EventArgs e)
        {
            AddMoney2 addMoney2 = new AddMoney2(TwoHuandred.Text);

            addMoney2.Show();
            this.Close();
        }

        private void ThreeHuandred_Click(object sender, EventArgs e)
        {
            AddMoney2 addMoney2 = new AddMoney2(ThreeHuandred.Text);

            addMoney2.Show();
            this.Close();
        }

        private void AddMoney_Load(object sender, EventArgs e)
        {
            label1.BackColor = Color.Transparent;
        }

        private void AddRecord_Click(object sender, EventArgs e)
        {
            
        }

        private void AddRecord_Click_1(object sender, EventArgs e)
        {
            AddRecords addRecords = new AddRecords();
            addRecords.Show();
            this.Close();
        }

        private void btnquxiao_Click(object sender, EventArgs e)
        {
            client cl = new client();
            cl.Show();
            this.Close();
        }
    }
}
